//背景类
import {Sprite} from "../base/Sprite.js";

export class BackGround extends Sprite{
constructor(){
    const image=Sprite.getImage('background');
    super(image,
        0,0,
        image.width,image.height,
        0,0,
        window.innerWidth,window.innerHeight);
}
}